package com.controller;

import com.service.ResignatureService;
import com.util.C_infor;
import com.util.Resignature;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
public class ResignatureController {
    @Resource
    private ResignatureService resignatureService;
    @GetMapping("/resignature _record")
    @ResponseBody
    public List<Resignature> See(@RequestParam String pId){
        return resignatureService.see(pId);
    }
}
